<?php
<object class="Cost" name="Cost" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Unit1</property>
  <property name="DocType">dtNone</property>
  <property name="Height">150</property>
  <property name="IsMaster">0</property>
  <property name="Name">Cost</property>
  <property name="Width">520</property>
  <property name="OnCreate">CostCreate</property>
  <object class="JTPlatinumGrid" name="JTCost" >
    <property name="AllowDelete">0</property>
    <property name="AllowInsert">0</property>
    <property name="AllowScrolling">0</property>
    <property name="AllowUpdate">0</property>
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="CanDragSelect">0</property>
    <property name="CanMultiColumnSort">0</property>
    <property name="CanRangeSelect">0</property>
    <property name="CanSelect">0</property>
    <property name="CellData">a:0:{}</property>
    <property name="Columns">a:0:{}</property>
    <property name="EvenRowStyle">
        <property name="Color">#FFFFFF</property>
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:45:&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:5:&quot;Black&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Header">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
        <property name="ShowFilterBar">0</property>
        <property name="ShowGroupBar">0</property>
        <property name="SimpleFilter">0</property>
    </property>
    <property name="Height">148</property>
    <property name="Name">JTCost</property>
    <property name="OddRowStyle">
        <property name="Color">#EEEEEE</property>
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:45:&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:5:&quot;Black&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Pager">
        <property name="RowsPerPage">5</property>
        <property name="ShowPageInfo">0</property>
        <property name="ShowRecordCount">0</property>
        <property name="ShowTopPager">0</property>
    </property>
    <property name="ReadOnly">1</property>
    <property name="RowDataStyles">a:0:{}</property>
    <property name="SelectedRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="ShowSelectColumn">0</property>
    <property name="SiteTheme"></property>
    <property name="Width">520</property>
    <property name="OnShow">JTCostShow</property>
  </object>
  <object class="HiddenField" name="hfveh" >
    <property name="Height">18</property>
    <property name="Left">256</property>
    <property name="Name">hfveh</property>
    <property name="Width">128</property>
  </object>
  <object class="HiddenField" name="hfincident" >
    <property name="Height">18</property>
    <property name="Left">232</property>
    <property name="Name">hfincident</property>
    <property name="Top">1</property>
    <property name="Width">128</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function editCost(cost)
{  
var win_height = 120;
var win_width = 304;
var height = window.outerHeight;
var width = window.outerWidth;
var top = Math.round((height-win_height)/2);
var left = Math.round((width-win_width)/2);
window.open(&quot;cost_edit.php?auto_id=&quot;+cost,'cost_edit','location=no,height='+win_height+',width='+win_width+',top='+top+',left='+left);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">180</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Width">44</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function js_deleteCost(inc_id,cost)
{
var answer = confirm(&quot;Are you sure you want to delete this record?&quot;);
if(answer)
{
window.location = &quot;cost_delete.php?incident_id=&quot;+inc_id+&quot;&amp;auto_id=&quot;+cost;  
}
}]]></property>
    <property name="Height">20</property>
    <property name="Left">124</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Width">52</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">464</property>
        <property name="Top">0</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
